package com.farm.goods.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.farm.common.annotation.Excel;
import com.farm.common.core.domain.BaseEntity;

/**
 * 商品管理对象 goods
 * 
 * @author yd
 * @date 2024-03-17
 */
public class Goods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品编号 */
    private Long goodsId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** 商品类别 */
    @Excel(name = "商品类别")
    private String goodsType;

    /** 商品进价 */
    @Excel(name = "商品进价")
    private BigDecimal goodsJprice;

    /** 商品售价 */
    @Excel(name = "商品售价")
    private BigDecimal goodsSprice;

    /** 商品剩余量 */
    @Excel(name = "商品剩余量")
    private Long goodsLeave;

    /** 商品库存量 */
    @Excel(name = "商品库存量")
    private Long goodsBank;

    /** 商品展示 */
    @Excel(name = "商品展示")
    private String goodsShow;

    /** 商品描述 */
    @Excel(name = "商品描述")
    private String goodsAccount;

    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setGoodsName(String goodsName) 
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName() 
    {
        return goodsName;
    }
    public void setGoodsType(String goodsType) 
    {
        this.goodsType = goodsType;
    }

    public String getGoodsType() 
    {
        return goodsType;
    }
    public void setGoodsJprice(BigDecimal goodsJprice) 
    {
        this.goodsJprice = goodsJprice;
    }

    public BigDecimal getGoodsJprice() 
    {
        return goodsJprice;
    }
    public void setGoodsSprice(BigDecimal goodsSprice) 
    {
        this.goodsSprice = goodsSprice;
    }

    public BigDecimal getGoodsSprice() 
    {
        return goodsSprice;
    }
    public void setGoodsLeave(Long goodsLeave) 
    {
        this.goodsLeave = goodsLeave;
    }

    public Long getGoodsLeave() 
    {
        return goodsLeave;
    }
    public void setGoodsBank(Long goodsBank) 
    {
        this.goodsBank = goodsBank;
    }

    public Long getGoodsBank() 
    {
        return goodsBank;
    }
    public void setGoodsShow(String goodsShow) 
    {
        this.goodsShow = goodsShow;
    }

    public String getGoodsShow() 
    {
        return goodsShow;
    }
    public void setGoodsAccount(String goodsAccount) 
    {
        this.goodsAccount = goodsAccount;
    }

    public String getGoodsAccount() 
    {
        return goodsAccount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsId", getGoodsId())
            .append("goodsName", getGoodsName())
            .append("goodsType", getGoodsType())
            .append("goodsJprice", getGoodsJprice())
            .append("goodsSprice", getGoodsSprice())
            .append("goodsLeave", getGoodsLeave())
            .append("goodsBank", getGoodsBank())
            .append("goodsShow", getGoodsShow())
            .append("goodsAccount", getGoodsAccount())
            .toString();
    }
}
